<template>
  <Schedule
    :courses="courses"
    :openclass="openclass"
    :teachercolor="teachercolor"
    :coursecolor="coursecolor"
  ></Schedule>
</template>

<script>
// import {}
// @ is an alias to /src
// import course07 from '@/course/web/07'
// import course08 from '@/course/web/08'
// import course09 from '@/course/web/09'
// import course10 from '@/course/web/10'
// import course11 from '@/course/web/11'
// import course12 from "@/course/web/12";
// import course13 from "@/course/web/13";
// import course14 from "@/course/web/14";
// import course15 from "@/course/web/15";
// import course16 from "@/course/web/16";
// import course17 from "@/course/web/17";
// import course18 from "@/course/web/18";
// import course19 from "@/course/web/19";
// import course20 from "@/course/web/20";
// import course21 from "@/course/web/21";
// import course22 from "@/course/web/22";
// import course23 from "@/course/web/23";
// import course24 from "@/course/web/24";
// import course25 from "@/course/web/25";
// import course26 from "@/course/web/26";
// import course27 from "@/course/web/27";
import course28 from "@/course/web/28";
import course29 from "@/course/web/29";
import course30 from "@/course/web/30";
import course31 from "@/course/web/31";
import course32 from "@/course/web/32";



// import courseVue from '@/course/web/vue'
import Schedule from "@/components/Schedule.vue";

export default {
  components: {
    Schedule
  },
  data() {
    return {
      coursecolor: {
        英: "danger"
      },
      teachercolor: {
        盛老师: "warning",
        杨老师: "primary",
        夏老师: "danger",
        韩老师: "han",
        高老师: "gao",
        厉老师: "li"
      },
      openclass: [
        {
          date: "2019-04-23",
          teacher: "盛老师",
          content: "手写webpack源码",
          type: "open"
        },
        {
          date: "2019-04-25",
          teacher: "杨老师",
          content: "koa2源码剖析",
          type: "open"
        }
      ],
      courses: [
        {
          title: "全部"
          // data: course09,
          // startDate: "2019-03-15"
        },
        // {
        //   title: '第七期',
        //   data: course07,
        //   startDate: '2018-12-24'
        // },
        // {
        //   title: '第八期',
        //   data: course08,
        //   startDate: '2019-01-05'
        // },
        // {
        //   title: '第九期',
        //   data: course09,
        //   startDate: '2019-03-15'
        // },
        // {
        //   title: '第十期',
        //   data: course10,
        //   startDate: '2019-04-30'
        // },
        // {
        //   title:'精英训练营Vue',
        //   data:courseVue,
        //   startDate:"2019-05-29"
        // },
        // {
        //   title: '十一期',
        //   data: course11,
        //   startDate: '2019-06-26'
        // },
        // {
        //   title: "十二期",
        //   data: course12,
        //   startDate: "2019-07-30"
        // },
        // {
        //   title: "十三期",
        //   data: course13,
        //   startDate: "2019-08-26"
        // },

        // {
        //   title: "十四期",
        //   data: course14,
        //   startDate: "2019-09-26"
        // },
        // {
        //   title: "十五期",
        //   data: course15,
        //   startDate: "2019-10-25"
        // },
        // {
        //   title: "十六期",
        //   data: course16,
        //   startDate: "2019-12-31"
        // },
        // {
        //   title: "十七期",
        //   data: course17,
        //   startDate: "2020-03-20"
        // },
        // {
        //   title: "十八期",
        //   data: course18,
        //   startDate: "2020-04-28"
        // },
        // {
        //   title: "十九期",
        //   data: course19,
        //   startDate: "2020-05-29"
        // },
        // {
        //   title: "二十期",
        //   data: course20,
        //   startDate: "2020-06-30"
        // },
        // {
        //   title: "二十一期",
        //   data: course21,
        //   startDate: "2020-07-31"
        // },
        // {
        //   title: "二十二期",
        //   data: course22,
        //   startDate: "2020-08-30"
        // },
        // {
        //   title: "二十三期",
        //   data: course23,
        //   startDate: "2020-09-30"
        // },
        // {
        //   title: "二十四期",
        //   data: course24,
        //   startDate: "2020-10-31"
        // },
        // {
        //   title: "二十五期",
        //   data: course25,
        //   startDate: "2020-11-30"
        // },
        // {
        //   title: "二十六期",
        //   data: course26,
        //   startDate: "2020-12-31"
        // },
        // {
        //   title: "二十七期",
        //   data: course27,
        //   startDate: "2021-01-29"
        // },
        {
          title: "二十八期",
          data: course28,
          startDate: "2021-02-27"
        },
        {
          title: "二十九期",
          data: course29,
          startDate: "2021-03-31"
        },
        {
          title: "三十期",
          data: course30,
          startDate: "2021-04-29"
        },
        {
          title: "三十一期",
          data: course31,
          startDate: "2021-05-31"
        },
        {
          title: "三十二期",
          data: course32,
          startDate: "2021-06-29"
        },
      ]
    };
  }
};
</script>
<style lang="stylus">
.el-badge__content--han {
  background: yellow !important;
  color: black !important;
}

.el-badge__content--gao {
  background: pink !important;
  color: black !important;
}

.el-badge__content--li {
  background: #00CED1 !important;
  color: black !important;
}
</style>
